package com.chunuo.mvc.config;

import com.chunuo.configuration.annotation.Bean;
import com.chunuo.configuration.annotation.Configuration;
import com.chunuo.mvc.MvcApplication;

/**
 * 类的作用
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-12-29 14:33
 */
@Configuration
public class XxxConfiguration {

    @Bean("MVCapplication")
    public MvcApplication mvcApplication2(MvcApplication mvcApplication){
        return new MvcApplication();
    }

    @Bean
    public MvcApplication mvcApplication(){
        return new MvcApplication();
    }

}
